package com.example.test.advice.第六章_枚举和注解.建议84_使用构造函数协助描述枚举项;

public enum Season {

    Spring("春"),Summer("夏"),Autumn("秋"),Winter("冬");

    private String desc;

    Season(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
